<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
	</body>
	<!--<script type="text/javascript">
		var child = {};
		var mother = {
			name: "zhangzhiying",
			lastAge: 21,
			sex: "女"
		};

		function extend(target, source) {　　　　
			for(var p in source) {　　
				target[p] = source[p];　　　　
			}　　　　
			return target;
		}
		extend(child, mother);
		console.log(child); //<STRONG>Object {name: "zhangzhiying", lastAge: 21, sex: "女"}</STRONG>
	</script>-->
	<!--<script type="text/javascript">
		var child = {};
		var mother = {
			name: "zhangzhiying",
			lastAge: 21,
//			<STRONG>set age(value){ 
//    this.lastAge=value; 
//  }, 
//  get age(){ 
//    return this.lastAge+1; 
//  },
//  </STRONG>
			sex: "女"
		}; 
//		< BR > 　　　　 < STRONG > 　mother.age = 15; < /STRONG>    / / 有set方法， 具有可写性

		function extend(target, source) {　　　　
			for(var p in source) {　　
				target[p] = source[p];　　　　
			}　　　　
			return target;
		}
		extend(child, mother);
		console.log(child); //<STRONG>Object {name: "zhangzhiying", lastAge: 15, age: 16, sex: "女"}</STRONG>
	</script>-->
	<script type="text/javascript">
		

var arr = ["One","Two","Three"];

var arrtoo = arr.slice(0);
arrtoo[2] = "set Map";
document.writeln("数组的原始值：" + arr + "<br />");//Export:数组的原始值：One,Two,Three
document.writeln("数组的新值：" + arrtoo + "<br />");//Export:数组的新值：One,set Map,Three


	</script>

</html>